/*
 * @Descripttion: 
 * @version: 1.0
 * @Author: Sam
 * @Date: 2022-03-26 02:58:38
 * @LastEditors: Sam
 * @LastEditTime: 2022-06-17 16:25:31
 */
import Layout from '@/layout'

export default {
 alwaysShow: true,
 redirect: 'noRedirect',
  path: '/settings',
  component: Layout,
  name :'Settings',
  meta: {
    title: '设置',
    icon: 'el-icon-setting',
    roles: [
      'settings'
    ]
  },
  children: [
    { path: '/role/admin', component: ()=>import('@/views/role/admin/index'), name: 'AdminIndex', meta: { title: '账号管理',roles: ['admin.index'] }},
    { path: '/role/group', component: ()=>import('@/views/role/group/index'), name: 'GroupIndex', meta: { title: '角色管理',roles: ['group.index'] }},
    { path: '/role/index', component: ()=>import('@/views/role/rule/index'), name: 'RuleIndex', meta: { title: '规则管理',roles: ['rule.index'] }},
    { path: '/role/admin_log', component: ()=>import('@/views/role/admin/log'), name: 'admin_log', meta: { title: '操作日志',roles: ['admin.log'] }},
    { path: '/role/admin_error', component: ()=>import('@/views/role/admin/error'), name: 'admin_error', meta: { title: '异常日志',roles: ['admin.error'] }},
    { path: '/settings/index', component: ()=>import('@/views/settings/index'), name: 'condif', meta: { title: '系统设置',roles: ['settings'] }}
  ]
}
